<template>
  <div class="simple-title">
    <div class="simple-title-txt">{{title}}</div>
    <div class="simple-title-tool">
      <slot name="tool"></slot>
    </div>
  </div>
</template>

<script>
export default {
  name: 'simple-title',
  props: {
    title: String
  }
}
</script>

<style lang="scss" scoped>
.simple-title {
  height: 40px;
  margin: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: url("~@/assets/screen/title-line.svg") no-repeat left bottom;
  background-size: 100%;
  color: #FFF;
  padding-bottom: 8px;

  &-txt {
    font-size: 20px;

  }
}
</style>
